import api from '../utils/apiUtils';


// l类目列表
export function categoryPage(params) {
  return api.get('/shop/category/page', params);
}

// 查询商户(店铺列表的查询)
export function merchantPage (params) {
    return api.get('/shop/merchant/page', params);
  }

// 平台创建商户(店铺列表的查询)
export function merchantCreate (params) {
    return api.post('/shop/merchant/create', params);
  }
// 商户详情
export function merchantInfo (params) {
    return api.get('/shop/merchant/' + params);
  }
// 修改商户
export function merchantAlter (id, params) {
    return api.put('/shop/merchant/base/' + id, params);
  }
//商户入驻申请
export function joinApplication (params) {
  return api.post('/shop/merchant/joinApplication',  params);
}


  
